home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 32
/
Mac Magazin and MacEasy Magazine CD - Issue 32.iso
/
System
/
Systemerweiterungen
/
Powerbook.keyboard.remap Folder
/
Powerbook.keyboard.remap
< prev
Wrap
Text File
|
1997-02-04
|
5KB
|
109 lines
This document tells how to make the upper row of function keys on your
PowerBook serve as PageUp, PageDown, Home, End, and Forward Delete.
-----------------------------------------------------------------------
The exact changes made are:
Original Key New Function
-----------------------------------
F5 End
F6 Home
F7 PageDown
F8 PageUp
F12 ForwardDelete
(Using F7 for PageUp seems more natural to me, but I made them to match the
existing up and down arrows on the keyboard. You can, of course,
switch them however you like.)
Warnings:
*These changes are "hardwired" into your system, so if you come across a
program that needs the functions keys, you won't be able to access them.
*Work on a *copy* of your system. I made a RAM startup disk and did the
changes there first to check it out.
-----------------------------------------------------------------------
** THE EASY WAY TO MODIFY YOUR KEYBOARD **
1) Open the resource file (provided) called "Modified KMAP resource"
2) Open a *copy* of your System file in ResEdit or Resorcerer.
3) Copy the only resource in the "Modified KMAP resource" file and
paste it into the System's resource window.
4) When you paste, you will get a warning asking if you want to
replace resources with the same ID.
5) Click [Yes] (*not* the default [No] or [Unique ID]).
6) In the System file, open the ROv# resource with ID 1660.
7) Select the last set of '*****'. (On mine it was number 16).
8) Select 'Insert New Fields' from the Resource menu.
9) Set the type to KMAP and the Res ID to 0
(This makes the System look to the new KMAP resource instead of ROM).
10) Save and close the modified System file.
11) Pop the current system in the Trash (you can't empty it yet!), put
your modified system in the system folder, and restart.
-----------------------------------------------------------------------
If you don't like pasting resources into your system file or you want to
change the key assignments (see below), here is the long way to do it.
is how to do the exact same thing the long way.
**Instructions for modifying your keyboard by hand**
1) Open a copy of the System in ResEdit or Resorcerer.
2) Open the resource KMAP ID=0 (not KCHR).
3) Change the byte at offset $64 from $60 to $77 (F5 now sends End)
4) Change the byte at offset $65 from $61 to $73 (F6 now sends Home)
5) Change the byte at offset $66 from $62 to $79 (F7 now sends PgDn)
6) Change the byte at offset $68 from $64 to $74 (F8 now sends PgUp)
7) Change the byte at offset $73 from $6F to $75 (F12 now sends FwdDel)
8) Close the KMAP resource
9) In the System file, open the ROv# resource with ID 1660.
10) Select the last set of '*****'. (On mine it was number 16).
11) Select 'Insert New Fields' from the Resource menu.
12) Set the type to KMAP and the Res ID to 0
(This makes the System look to your KMAP resource instead of ROM).
l3) Save and close the modified System file.
14) Pop the current system in the Trash (you can't empty it yet!), put
your modified system in the system folder, and restart.
-----------------------------------------------------------------------
Notes on manually modifying your KMAP:
* The offsets are in the leftmost column of the KMAP resource; you change
the values in the *middle* column.
* Don't worry about the letters you see on the right of the KMAP resource
when it's open. They are just the ASCII for the keycodes. In fact,
when you've make the modifications correctly the lowercase alphabet
should read 'wsycte' instead of '`abcde' and 'nup' instead of 'nop'.
* These function keys are not to be confused with the FKEY (command-shift-#)
resources used by the system.
* Not all programs make use of these keys, so try them out in something
that you know does.
* Sometimes when you update the system, you have to re-modify the KMAP,
so keep this file around.
-----------------------------------------------------------------------
Customization:
* If you want to use different function keys, you can find out which
numbers to change from by opening the KCHR resource ID 0. Press the key
you want to reassign, and note the value next to 'Key:' (not Char:). Find
this number in KMAP resource 0 and change it instead. (For example change
the 65 instead of 60 to use F9 as Home).
-----------------------------------------------------------------------
The instructions are adapted from the "PowerBook Key Remapping guide"
created by Quinn "The Eskimo!" <quinn@cs.uwa.oz.au>. Thanks to Quinn!
I can't guarantee anything except that these changes have worked without
any problems on System 7.1 up to 7.5.5.
I hope you use them as much as I do.
--Steve Haddock
haddock@lifesci.ucsb.edu